def title_err(title):
    error_title = 'amazon.com'
    error_t2 = 'www.amazon.com'
    if title is None:
        return False
    elif len(title) == 10 and title.lower() == error_title:
        return False
    elif len(title) == 14 and title.lower() == error_t2:
        return False


if __name__ == '__main__':
    str = 'Amazon.com'
    res = title_err(str)
    print(res)
    print(not res)
